package com.sf.fy.uav.controller;

import com.sf.fy.uav.entity.TtTesTerminalRangeCoordinate;
import com.sf.fy.uav.service.ITtTesTerminalRangeCoordinateService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.stereotype.Controller;

import java.util.List;

/**
 * <p>
 * 航站服务范围坐标信息 前端控制器
 * </p>
 *
 * @author LTQ
 * @since 2024-04-18
 */
@Controller
@RequestMapping("/sys/tt-tes-terminal-range-coordinate")
public class TtTesTerminalRangeCoordinateController {

    @Autowired
    private ITtTesTerminalRangeCoordinateService ttTesTerminalRangeCoordinateService;

    public List<TtTesTerminalRangeCoordinate> getByTerminalIdAndRangeId(List<Long> terminalId, List<Long> rangeId) {
        return ttTesTerminalRangeCoordinateService.getByTerminalIdAndRangeId(terminalId, rangeId);
    }
}
